import { defineStore } from 'pinia'
const S_zc = defineStore('store_szc', {
  // 这里易错语法:如果箭头函数直接指向返回值的同学  记得把返回的对象用小括号括起来
  state: () => {
    return {
      msg: {
        publics: {
          女性健康: [
            "月经异常",
            "女性性问题",
            "不孕症",
            "阴道炎",
            "妇科常用检查",
            "宫颈问题",
            "乳腺护理",
            "HPV",
            "人流",
            "其他妇科疾病",
            "女性尿路感染",
            "产后漏尿",
            "阴道松弛"
          ],
          '男性健康': [
            "幸福",
            "性病",
            "男性护理",
            "钉钉",
            "阴茎皮肤病",
            "早泄",
            "壮阳",
            "其他男性疾病",
            "养胃",
            "阴茎异常",
            "包皮过长",
            "男性乳房"
          ],
          '青少年健康': [
            "用眼卫生",
            "青少年常见疾病",
            "青少年性教育",
            "青春期发育",
            "早恋",
            "青少年心理疾病",
            "考试压力"
          ],
          '老年人健康': [
            "糖尿病",
            "高血压",
            "其他老年人疾病",
            "老年人护理",
            "帕金森",
            "阿尔兹海默症",
            "骨质疏松",
            "老年人锻炼",
            "老年人饮食",
            "更年期",
            "冠心病",
            "青光眼",
            "老年人访跌倒",
            "老年人心理健康"

          ],
          '母婴健康': [],
          '癌症': [],
          '职业病': [],
          '传染病': [],
          '安全用药': [],
          '体检': [],
          '急救': []
        },
        life:{
          口腔护理:[
            "口腔护理",
            "儿童口腔健康",
            "牙齿矫正",
            "口腔清洁",
            "拔牙",
            "补牙",
            "扁桃体",
            "牙齿美白",
            "牙周疾病",
            "口腔黏膜",
            "龋齿",
            "舌",
            "牙龈出血"
          ],
          膳食指南:[
            "饮品",
            "吃得好",
            "疾病饮食",
            "主食/粗粮",
            "微量/常量元素",
            "海鲜",
            "饮食谣言/误区",
            "养生饮食",
            "宝宝辅食",
            "蛋鸡蛋制品",
            "耐吉奶制品",
            "调味品"
          ],
          心理社交:[],
          运动与减非:[],
          好好睡觉:[],
          日常生活:[],
          保健品:[],
          我要变美:[],
          私密性:[]
        }
      },
      department_all: {
        常见科室: [
          ["皮肤科", "https://img1.dxycdn.com/2020/1030/231/3649366969865764443-22.png"],
          ["妇科", "https://img1.dxycdn.com/2020/1030/478/7663285289475764443-22.png"],
          ["产科", "https://img1.dxycdn.com/2020/1218/560/2761860811379173543-22.png"],
          ["消化内科", "https://img1.dxycdn.com/2020/1030/625/5928789734785764443-22.png"],
          ["泌尿外科", "https://img1.dxycdn.com/2020/1030/619/0203655814875764443-22.png"],
          ["骨科", "https://img1.dxycdn.com/2020/1030/190/5537635599085764443-22.png"],
          ["耳鼻咽喉科", "https://img1.dxycdn.com/2020/1030/374/9037302276695764443-22.png"],
          ["口腔科", "https://img1.dxycdn.com/2020/1030/374/9037302276695764443-22.png"],
          ["儿科", "https://img1.dxycdn.com/2020/1030/255/1306431538275764443-22.png"],
        ],
        内科: [
          ["普通内科", "https://img1.dxycdn.com/2020/1030/362/8794448533606764443-22.png"],
          ["呼吸内科", "https://img1.dxycdn.com/2020/1030/536/3106151445306764443-22.png"],
          ["感染科 传染科", "https://img1.dxycdn.com/2020/1030/781/2875670896806764443-22.png"],
          ["内分泌科", "https://img1.dxycdn.com/2020/1030/508/9872065548016764443-22.png"],
          ["心血管内科", "https://img1.dxycdn.com/2020/1030/361/5485282694416764443-22.png"],
          ["神经内科", "https://img1.dxycdn.com/2020/1030/961/8830362370716764443-22.png"],
          ["肾脏内科", "https://img1.dxycdn.com/2020/1030/435/6875005782288764443-22.png"],
          ["风湿免疫科", "https://img1.dxycdn.com/2020/1030/845/2088208577446764443-22.png"],
          ["血液科", "https://img1.dxycdn.com/2020/1030/261/6156765765746764443-22.png"]
        ],
        外科: [
          ["普外科", "https://img1.dxycdn.com/2020/1030/902/5855359995266764443-22.png"],
          ["神经外科", "https://img1.dxycdn.com/2020/1030/826/9702397887056764443-22.png"],
          ["心胸外科", "https://img1.dxycdn.com/2020/1030/549/7660684085356764443-22.png"],
          ["肝胆胰腺外科", "https://img1.dxycdn.com/2020/1030/232/6491999685656764443-22.png"],
          ["甲状乳腺外科", "https://img1.dxycdn.com/2020/1030/001/5472281766066764443-22.png"],
          ["美容整形外科", "https://img1.dxycdn.com/2020/1030/134/9476941269466764443-22.png"]
        ],
        其他: [
          ["眼科", "https://img1.dxycdn.com/2020/1030/608/2375388181106764443-22.png"],
          ["性病科", "https://img1.dxycdn.com/2020/1030/727/6985307749195764443-22.png"],
          ["全科", "https://img1.dxycdn.com/2020/1030/494/7120351752966764443-22.png"],
          ["精神心理课", "https://img1.dxycdn.com/2020/1030/128/1441943916176764443-22.png"],
          ["肿瘤科", "https://img1.dxycdn.com/2020/1030/920/4408918484576764443-22.png"],
          ["影像检验科", "https://img1.dxycdn.com/2020/1030/838/0391638160876764443-22.png"],
          ["疼痛科 麻醉科", "https://img1.dxycdn.com/2020/1030/148/2055182702878764443-22.png"],
          ["药剂科", "https://img1.dxycdn.com/2020/1030/793/8090847339486764443-22.png"],
          ["疫苗科", "https://img1.dxycdn.com/2020/1030/026/0505111904278764443-22.png"]]
      },
      evaluation:[
        "快速响应",
        "周好评第一",
        "医学博士",
        "全国百强医院",
        "快速响应",
        "耐心细致",
        "从业10年以上"
      ],
      cache:{
        str:'',
        ar:[['symptoms', 'disease'], ["goods", "detail"], ["hospital", 'name'], []]
      },
    }
  },
  actions:{
    change(x){
      this.cache.str=(x)
    },
  }
})
export default S_zc                                                                                                                        